package com.baomidou.kisso.common.util;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author : fuminwang
 * @Description :
 * @CreateDate : 2017/12/07 13:58
 */
@PropertySource("classpath:/ym-sso.properties")
@ConfigurationProperties(prefix = "token")
@Component
public class TokenConfig {
    private String appUuid;
    private String corpUuid;
    private String appSecret;
    private String tokenUrl;

    public String getTokenUrl() {
        return tokenUrl;
    }

    public void setTokenUrl(String tokenUrl) {
        this.tokenUrl = tokenUrl;
    }

    public String getAppUuid() {
        return appUuid;
    }

    public void setAppUuid(String appUuid) {
        this.appUuid = appUuid;
    }

    public String getCorpUuid() {
        return corpUuid;
    }

    public void setCorpUuid(String corpUuid) {
        this.corpUuid = corpUuid;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }
}
